//
//  ACBRBroadcasterViewController.h
//  Broadcaster
//
//  Created by Jeffrey Wescott on 6/4/14.
//  Copyright (c) 2014 ArenaCloud.com All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ACBRBroadcasterProtocol.h"
#import "ACBRBroadcasterView.h"


@interface ACBRBroadcasterViewController : UIViewController <ACBRBroadcasterProtocol>
{
    
}

//配置推流信息
-(void) initConfigurePlubicStreamInfo:(NSString *)projectPublicKey byOrientationLock:(BOOL)orientationLocked;
//推流
-(void) publishStream:(NSString *)projectPublicKey byStreamId:(NSString *)streamId byPassword:(NSString *)password byStreamTicket:(NSString *)streamTicket withCompletionHandler:(void (^)(NSError *error))completion;

-(void) publishStream:(NSString *)projectPublicKey byStreamId:(NSString *)streamId byPassword:(NSString *)password byStreamTicket:(NSString *)streamTicket roomid:(NSString *)roomid roomname:(NSString *)roomname deviceNo:(NSString *)deviceNo channelId:(NSString *)channelId projectId:(NSString *)projectId isRegister:(BOOL)isRegister withCompletionHandler:(void (^)(NSError *error))completion;

- (void)toggleStreaming:(id)sender;
- (void)updateStatus:(NSString *)message;
- (void)enableControls;
- (void)takeScreenShot;

- (void) didGotScreenShot:(CGImageRef)image;

@end
